package com.wchat.enums;

/**
 * Created by yangtianrui on 17/8/11.
 */
public enum ResultEnum {

    SENDVERIFYCODE_ERROR(104,"发送验证码失败"),
    USER_IS_REGISTER(105,"该用户已经注册"),
    VERIFYCODE_IS_ERROR(106,"验证码不正确"),
    MOBILE_ERROR(107,"手机号不正确"),
    REGISTER_PARAM_IS_ERROR(108,"注册参数异常，请检查openid和用户手机号"),
    PHONENUMBER_IS_REGISTER(109,"该手机号已经注册"),
    USER_IS_BINED(110,"该用户已绑定"),
    WEIXIN_BIND_EROOR(111,"微信绑定失败"),
    NO_VERIFIED(112,"对不起，您还没实名认证，暂时无法登录"),
    CURRENT_USER_NULL(113,"当前用户不存在"),
    AURPOUND_NEARBY_NULL(114,"附近暂时没有心仪对象奥"),
    PASS_NOT_ALLOW_NULL(115,"密码不能为空"),
    USER_IS_NOTREGISTER(116,"该用户未经注册"),
    PASSWORD_IS_ERROR(117,"密码不正确"),
    ADD_FOLLOW_ERROR(118,"添加关注失败"),
    GET_FOLLOW_LIST_ERROR(119,"获取关注列表失败"),
    GERION_IS_NULL(120,"所选该区域不存在"),
    USER_UNIONID_PARAMETER_ERRORS(121,"用户openid不正确"),
    PARAM_ERROR(122,"参数id不存在"),
    PHONENUMBER_IS_NO_VEROFICODE(123,"该手机号没有接收到任何验证码，请重新发送"),
    USER_TOKEN_IS_NULL(124,"用户token参数为空"),
    NOT_LOGIN_STATUS(125,"请重新登录")

    ;



    private Integer code;

    private  String value;

    ResultEnum(Integer code,String value)
    {
        this.code = code;
        this.value = value;
    }

    public Integer getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }
}
